﻿@model IEnumerable<shop.MacDinh>

@{
    ViewBag.Title = "Câu hình web";
}
<div id="content">
    <div id="content-header">
        <div id="breadcrumb"> <a href="index.html" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a></div>
    </div>
    <div class="quick-actions_homepage">
        <ul class="quick-actions">
            <li> <a href="#"> <i class="icon-dashboard"></i> My Dashboard </a> </li>
            <li> <a href="#"> <i class="icon-shopping-bag"></i> Shopping Cart</a> </li>
            <li> <a href="#"> <i class="icon-web"></i> Web Marketing </a> </li>
            <li> <a href="#"> <i class="icon-people"></i> Manage Users </a> </li>
            <li> <a href="#"> <i class="icon-calendar"></i> Manage Events </a> </li>
        </ul>
    </div>
    <div class="container-fluid">

        <div class="widget-content">
            <table class="table table-bordered table-striped with-check">
                <thead>
                    <tr>
                        @*<th><input type="checkbox" id="title-table-checkbox" name="title-table-checkbox" /></th>*@
                        <th>ID</th>
                        <th>Nội dung</th>
                        <th>Key Name</th>
                        <th>Chức năng</th>
                    </tr>
                </thead>
                <tbody>
                    @foreach (var item in Model)
                    {
                        <tr>
                            @*<td><input type="checkbox" value="@item.ID" /></td>*@
                            <td>@item.ID</td>
                            <td>
                                @Html.Raw(item.Value)
                            </td>  
                            <td>@item.MaValue</td>                      
                            <td class="center">
                                <a href="/admin/setting/edit?id=@item.ID" class="btn btn-primary btn-mini">Sửa</a>
                                @* <a  class="delete-link btn btn-danger btn-mini" href="/sanpham/delete">Xóa</a>*@
                               @* @Html.ActionLink("Xóa", "Delete", new { id = item.ID }, new { @class = "delete-link btn btn-danger btn-mini" })*@
                                @* <a class="md-trigger btn btn-danger btn-mini"  data-modal="modal-15">3D Rotate In Left</a>*@

                            </td>
                        </tr>
                    }
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="row-fluid">
    <div id="footer" class="span12"> 2012 &copy; Marutii Admin. Brought to you by <a href="http://themedesigner.in">Themedesigner.in</a> </div>
</div>
<div id="delete-dialog" title="Thông báo">
    <p>Bạn có muốn xóa sản phẩm này không</p>
</div>
@Html.Hidden("TrueString", Boolean.TrueString)

<div class="md-overlay"></div><!-- the overlay element -->
<script src="~/Content/themes/maruti/js/jquery.min.js"></script>
<script src="~/Content/themes/maruti/js/jquery.ui.custom.js"></script>
<script src="~/Content/themes/maruti/js/bootstrap.min.js"></script>
<script src="~/Content/themes/maruti/js/jquery.uniform.js"></script>
<script src="~/Scripts/jquery-ui-1.8.24.js"></script>
<script src="~/Content/themes/maruti/js/select2.min.js"></script>
<script src="~/Content/themes/maruti/js/jquery.dataTables.min.js"></script>
<script src="~/Content/themes/maruti/js/maruti.js"></script>
<script src="~/Content/themes/maruti/js/maruti.tables.js"></script>
<script src="~/Content/themes/maruti/js/sanpham.js"></script>